<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
<head>
    <head th:include="common/global :: global('客户列表','css','login/login')">

</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 客户管理 <span
        class="c-gray en">&gt;</span> 客户列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
                                              href="javascript:location.replace(location.href);" title="刷新"><i
        class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <div class="text-c">
        <form action="/admin/customer/cucstomerList" method="post" id="searchForm">
            <input type="hidden" id="count" th:value="${pageinfo?.total }"/>
            <input type="hidden" id="page" name="page" th:value="${pageinfo?.pageNum }"/>
            <input type="hidden" id="pageSize" name="pageSize" th:value="${pageinfo?.pageSize }"/>

            <input type="text" name="phone" th:value="${phone }" placeholder=" 请输入你要查询的订单号" style="width:250px"
                   class="input-text">
            <span>状态：</span>
           <!-- <span class="select-box inline">
                <select name="status" class="select">
                    <option value="" th:selected="${status==''}">&#45;&#45;全部&#45;&#45;</option>
                    <option value="2" th:selected="${status==2}">已支付</option>
                    <option value="1" th:selected="${status==1}">未支付</option>
                    <option value="6" th:selected="${status==13}">已发货</option>
                    <option value="6" th:selected="${status==9}">交易成功</option>
                </select>
            </span>-->
            <button name="" class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
        </form>
    </div>
    <div class="mt-20 portfolio-content">
        <table class="table table-border table-bordered table-bg table-hover table-sort">
            <thead>
            <tr class="text-c">
                <th width="10%">客户Id</th>
                <th width="10%">名称</th>
                <th width="10%">电话</th>
                <th width="30%">地址</th>
                <th width="20%">openId</th>
                <th width="20%">时间</th>
               <!-- <th width="10%">操作</th>-->
            </tr>
            </thead>
            <tbody>
            <tr class="text-c" th:each="item:${pageinfo.list}">
                <td th:text="${item.tid }">

                </td>

                <td th:text="${item.userName}">


                </td>
                <td th:text="${item.phone}">

                </td>
                <td th:text="${item.userAddress}">

                </td>

                <td  th:text="${item.openId}">

                </td>
                <td th:text="${#dates.format(item.createTime, 'yyyy-MM-dd HH:mm')}">

                </td>
            </tr>
            </tbody>
        </table>
        <div th:replace="common/include-footer"></div>
    </div>
</div>
</body>
</html>